﻿<Window x:Class="PowerSong.UserInterface.EditVideoWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Edit Video" Height="467" Width="507" Icon="/PowerSong;component/Icons/BlackIcon.ico"
        WindowStartupLocation="CenterScreen" xmlns:my="clr-namespace:PowerSong.UserInterface" Closing="Window_Closing">
    <Grid>
        <Button Content="_Cancel" Height="23" HorizontalAlignment="Right" Margin="0,0,12,12" Name="CancelButton" VerticalAlignment="Bottom" Width="75" Click="CancelButton_Click" IsCancel="True" />
        <Button Content="_OK" Height="23" HorizontalAlignment="Right" Margin="0,0,93,12" Name="OKButton" VerticalAlignment="Bottom" Width="75" Click="OKButton_Click" IsDefault="True" />
        <my:OpenFileControl Margin="108,42,12,0" x:Name="OpenFileControl" VerticalAlignment="Top" FileNameChanged="OpenFileControl_FileNameChanged" />
        <TextBlock HorizontalAlignment="Left" Margin="12,46,0,0" Text="Video File Name:" VerticalAlignment="Top" />
        <TextBlock HorizontalAlignment="Left" Margin="300,0,0,60" Text="to" VerticalAlignment="Bottom" />
        <CheckBox Content="Only play part of the video, from" Height="16" HorizontalAlignment="Left" Margin="12,0,0,60" Name="PartialCheckBox" VerticalAlignment="Bottom" Checked="PartialCheckBoxChanged" Unchecked="PartialCheckBoxChanged" />
        <CheckBox Content="Automatically replay the video when it finishes" Height="16" HorizontalAlignment="Left" Margin="12,0,0,38" Name="checkBox2" VerticalAlignment="Bottom" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="207,0,0,56" Name="FromTextBox" VerticalAlignment="Bottom" Width="87" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="317,0,0,56" Name="ToTextBox" VerticalAlignment="Bottom" Width="87" />
        <Border Margin="80,88,80,115" CornerRadius="4" Background="Black" BorderThickness="1" BorderBrush="#6D000000">
            <MediaElement Name="Media" LoadedBehavior="Manual" Stretch="Fill" />
        </Border>
        <TextBlock HorizontalAlignment="Left" Margin="12,16,0,0" Text="Title:" VerticalAlignment="Top" />
        <TextBox Height="23" Margin="108,13,12,0" Name="TitleTextBox" VerticalAlignment="Top" />
        <Button Content="_Play" Height="23" HorizontalAlignment="Right" Margin="0,89,29,0" Name="PlayButton" VerticalAlignment="Top" Width="45" Click="PlayButton_Click" />
        <Button Content="_Stop" Height="23" HorizontalAlignment="Right" Margin="0,118,29,0" Name="StopButton" VerticalAlignment="Top" Width="45" Click="StopButton_Click" />
    </Grid>
</Window>
